package cn.jxau.fukin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


/**
 * 动态页面跳转控制器
 * */
@Controller
public class FormController{

	@RequestMapping(value = "/page.do")
	 public ModelAndView toPage(String url,ModelAndView mv){
		System.out.println(url);
		mv.setViewName(url);
		// 动态跳转页面
		return mv;
	}

}

